export default defineAppConfig({
  pages: [
    'pages/loading/index',
    'pages/home/index',
    'pages/lesson/index',
    'pages/lesson/artList',
    'pages/lesson/artDetail',
    'pages/knowledge/index',
    'pages/knowledge/videoList',
    'pages/knowledge/videoDetail',
    'pages/exam/index',
    'pages/examdetail/index',
    'pages/user/index',
    'pages/user/userInfo'
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#999999',
    backgroundColor: '#FFFFFF',
    selectedColor: '#196FFA',
    borderStyle: 'white',
    list: [
      {
        text: '首页',
        pagePath: 'pages/home/index',
        iconPath: 'assets/images/tabs/home.png',
        selectedIconPath: 'assets/images/tabs/home-active.png'
      },
      {
        text: '我的',
        pagePath: 'pages/user/index',
        iconPath: 'assets/images/tabs/user.png',
        selectedIconPath: 'assets/images/tabs/user-active.png'
      }
    ],
    position: 'bottom'
  }
})
